//package com.rabbitmq.direct.producer;
//
//import com.rabbitmq.direct.config.RabbitP2PConfigure;
//import org.springframework.amqp.core.AmqpTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
///**
// * @Author: hualao
// * @Version: 0.0.1V
// * @Date: 2018/10/24
// * @Description: 生产消息
// **/
//@Component
//public class Procuder {
//    @Autowired
//    private AmqpTemplate amqpTemplate;
//
//    public void send(String msg) {
//        amqpTemplate.convertAndSend(RabbitP2PConfigure.QUEUE_NAME, msg);
//    }
//}
